package org.linuxgears.BouncingBall.gui;

import java.awt.event.ActionEvent;

import org.linuxgears.BouncingBall.model.Ball;
import org.linuxgears.BouncingBall.model.BallController;

public class InteractiveBallToolButton extends BallToolButton {

	public InteractiveBallToolButton(Ball prototype, BallController controller) {
		super(prototype, controller);
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		controller.addInteractiveBall(prototype.clone());
	}

}
